var express=require('express')
var path=require('path')
var compression=require('compression')
var app=express()
//15.2 MB
var dist=path.join(__dirname,'dist')
// app.use(compression())
app.use('/',(req,res,next)=>{
	res.setHeader('cache-control','public,max-age=180')
	next()
})
app.use('/',express.static(dist))

app.listen(8080,()=>{
	console.log('run start!')
})